package com.codeest.geeknews.model.http.api;

import io.reactivex.Flowable;
import retrofit2.http.GET;
import retrofit2.http.Query;

/**
 * Created by admin on 2017/8/22.
 */

public interface LastfmApis {
    String HOST = "http://ws.audioscrobbler.com/2.0/";

    /**
     * album.getinfo:
     * <p>
     * http://ws.audioscrobbler.com/2.0/?method=album.getinfo&api_key=ef0830d379fdbdea7d1937d6c26ac807&artist=Stevie%20Hoang&album=All%20For%20You&format=json
     */
    @GET("?method=album.getinfo&format=json")
    Flowable<String> getAlbumInfo(@Query("api_key") String api_key, @Query("artist") String artist, @Query("album") String album);
}
